//导入初始化样式
import '@/styles/ini.css'

import { createApp } from 'vue'

import App from './App.vue'
import router from './router'

//pinia持久化
import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
const app = createApp(App)
const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)

//挂载pinia
app.use(pinia)
app.use(router)

app.mount('#app')
